package org.lds.simple.disruptor.model;

import org.lds.simple.disruptor.producer.AbstractProducer;
import org.lds.simple.disruptor.RingBuffer;

public class LoggerEventProducer extends AbstractProducer<LoggerEvent, LoggerEvent> {

    public LoggerEventProducer(RingBuffer<LoggerEvent> ringBuffer) {
        super(ringBuffer);
    }

    @Override
    public void convert(LoggerEvent t, LoggerEvent data) {
        t.setName(data.getName());
    }
}
